<template>
  <div class="all">
    <!-- 批量删除 -->
    <el-button class="allDelete" type="danger" plain @click="toDelete" size="mini" icon="el-icon-delete">批量解绑</el-button>
  </div>
</template>
<script>
export default {
  //删除-传给父组件，ajax
  methods: {
    toDelete() {
      this.$emit('toDelete', '点击了删除')
    },
  },
}
</script>
<style lang="scss" scoped>
</style>
